#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include <string.h>



int main(int argc, char const *argv[]){
	pid_t pid=0;
	pid=getpid();
	printf("pid=%d\n",pid );
	char s[20]={"this is s"};
	char pid_str[10]={};
	sprintf(pid_str,"%d",pid);
	strcat(s,pid_str);
	printf("pid=%d\n",pid );
	printf("s=%s\n",s );
	while(1);

	return 0;
}

